<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport"
    content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1, user-scalable=no" />
  <title>遍历子元素</title>
  <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" href="./css/demo1.css" />
  <script src="./js/jquery-3.6.1.min.js"></script>
  <script src="./js/demo1.js"></script>
</head>

<body>
  <section class="box">
    <img src="img/ad.jpg" alt="美梦成真系列抽奖" />
    <ul>
      <li><a href="#">小米的MI 2手机</a><span class="hot">火爆销售中</span></li>
      <li><a href="#">苹果iPad mini</a></li>
      <li>
        <ul>
          <li>1</li>
          <li>2</li>
          <li>3</li>
        </ul>
        <a href="#">三星GALAXY Ⅲ</a>
      </li>
      <li><a href="#">苹果iPhone 5</a></li>
    </ul>
  </section>
</body>

</html>